@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
40 lines (31 loc) • 685 B
text/typescript
import { createStyles } from 'antd-style';
export const useStyles = createStyles(({ css, token }) => ({
memberItem: css`
cursor: pointer;
display: flex;
flex-direction: row;
gap: 4px;
align-items: center;
width: 100%;
padding-block: 8px;
padding-inline: 8px 12px;
border-radius: ${token.borderRadius}px;
transition: all 0.2s ease;
.show-on-hover {
opacity: 0;
}
&:hover {
background: ${token.colorFillSecondary};
.show-on-hover {
opacity: 1;
}
}
`,
prompt: css`
opacity: 0.75;
transition: opacity 200ms ${token.motionEaseOut};
&:hover {
opacity: 1;
}
`,
}));